@num: 10;

@media screen and (min-width:320px) {
    html {
        font-size: (320px / @num);
    }
}

@media screen and (min-width:360px) {
    html {
        font-size: (360px / @num);
    }
}

@media screen and (min-width:375px) {
    html {
        font-size: (375px / @num);
    }
}

@media screen and (min-width:384px) {
    html {
        font-size: (384px / @num);
    }
}

@media screen and (min-width:400px) {
    html {
        font-size: (400px / @num);
    }
}

@media screen and (min-width:414px) {
    html {
        font-size: (414px / @num);
    }
}

@media screen and (min-width:424px) {
    html {
        font-size: (424px / @num);
    }
}

@media screen and (min-width:480px) {
    html {
        font-size: (480px / @num);
    }
}

@media screen and (min-width:540px) {
    html {
        font-size: (540px / @num);
    }
}

@media screen and (min-width:720px) {
    html {
        font-size: (720px / @num);
    }
}

@media screen and (min-width:750px) {
    html {
        font-size: (750px / @num);
    }
}

body {
    width: 10rem;
    margin: 0 auto;
}

h1 {
    text-align: center;
    font-size: .8rem;
}

.box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.focus {
    width: 3rem;
    height: 8rem;
    background-color: #ccc;
    overflow: hidden;
    padding: 0 .3rem;
    border: solid 1rem #fff;
    box-sizing: border-box;
    flex: 50%;

    img {
        display: block;
        width: 2.3rem;
        margin: 1rem auto;
        margin-bottom: 0;
    }

    p {
        font-size: 0.3rem;
        text-align: center;
    }
}